home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
anacroz.swf
/
scripts
/
frame_18
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
737b
|
30 lines
var i = 0;
_root.rc_sel = 1;
_root.rc_1.gotoAndStop(2);
_root.edClasse2 = _root.sd_valores[GRR][CLASSE];
_root.edPV2 = _root.sd_valores[GRR][PV];
_root.edPM2 = _root.sd_valores[GRR][PM];
_root.edATQ2 = _root.sd_valores[GRR][ATQ];
_root.edDEF2 = _root.sd_valores[GRR][DEF];
_root.edAGL2 = _root.sd_valores[GRR][AGL];
_root.edINT2 = _root.sd_valores[GRR][INT];
_root.edMRL2 = _root.sd_valores[GRR][MRL];
_root.rc_total = _root.edCustoTotal = 0;
i = 0;
while(i < 16)
{
if(tropa1.soldados[i] != undefined)
{
_root.rc_total = _root.rc_total + 1;
}
i++;
}
i = 1;
while(i <= 6)
{
_root["rc_" + i].custo = _root.sd_valores[i - 1][VALOR];
i++;
}
_root.rc_total_tmp = _root.rc_total;
delete i;